const api = {
  tasktodo: {
    page: 'bpm/task/listTodo',
    listDone: 'bpm/task/listDone',
    list: 'bpm/task/list',
    get: 'bpm/task/get',
    add: 'bpm/task/save',
    update: 'bpm/task/update',
    getTaskData: 'bpm/task/getTaskData',
    complete: 'bpm/task/complete',
    claim: 'bpm/task/claim',
    getBackNodes: 'bpm/task/getBackNodes',
    backTask: 'bpm/task/backTask',
    unclaim: 'bpm/task/unclaim',
    remove: 'bpm/task/remove'
  },
  busOrder: {
    customBondType: [{ label: '全款', value: 0 }, { label: '底价', value: 1 }, { label: '税金', value: 3 }, { label: '底价+税金', value: 2 }, { label: '底价/2+税金', value: 6 }, { label: '全额资信', value: 5 }, { label: '预收款', value: 7 }],
    supplierBondType: [{ label: '不垫付', value: 0 }, { label: '底价', value: 1 }, { label: '税金', value: 3 }, { label: '底价+税金', value: 2 }, { label: '底价/2+税金', value: 6 }, { label: '全额垫付', value: 5 }/*, { label: '销售金额*费率', value: 8 }*/],
    invoiceSendType: [{ label: '货票同行', value: 1 }, { label: '单独邮寄', value: 2 }],
    returnType: [{ label: '按数量', value: 1 }, { label: '按金额', value: 2 }],
    page: 'bus/order/page',
    list: 'bus/order/list'
  },
  supplier: {
    list: 'bus/supplier/list'
  },
  custom: {
    list: 'bus/custom/list'
  },
  payment: {
    page: 'bus/payment/page',
    exportUrl: 'bus/payment/export',
  },
  dept: {
    list: 'bus/dept/list'
  },
}
export default api